<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        a = {
            teacherId: 5643131,
            select89: 25,
            select90: 25,
            select70: 25,
            select91: 25,
            select71: 25,
            select72: 25,
            select73: 25,
            select74: 25,
            select75: 25,
            select76: 25,
            select92: 25,
            select93: 25,
            select94: 25,
            select95: 25,
            select77: 25,
            select78: 25,
            semester: {
                id: 890
            }, lesson: {
                id: 102989
            }, teacher: {
                ids: 5643131
            }
        }

        teacherId = 5643131
        set(teacherId)

        function set(teacherId, score) {
            fetch("http://jiaowu.stiei.edu.cn:8080/eams/evaluateStd!save.action", {
                headers: {
                    accept: "*/*",
                    "accept-language": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6",
                    "content-type": "application/x-www-form-urlencoded",
                    "x-requested-with": "XMLHttpRequest"
                },
                referrerPolicy: "strict-origin-when-cross-origin",
                body: `teacherId=${teacherId}&select89=${score}&select90=${score}&select70=${score}&select91=${score}&select71=${score}&select72=${score}&select73=${score}&select74=${score}&select75=${score}&select76=${score}&select92=${score}&select93=${score}&select94=${score}&select95=${score}&select77=${score}&select78=${score}&evaluateResult.remark=&semester.id=890&lesson.id=102989&teacher.ids=5643131`,
                method: "POST",
                mode: "cors",
                credentials: "include"
            });
        }

        const str = document.querySelector("#evaluateForm > table > tbody > tr:nth-child(1) > td:nth-child(6) > a").href;
        const regex = /(\(.*?)\)/g;
        const matches = str.match(regex);

        if (matches) {
            let arr = matches[0].substr(0, matches[0].length - 2).replace(/'/g, '').split(',').slice(1)

            console.log(arr);
        }
    </script>
</body>

</html>